<tal:block metal:define-macro="standard">

  <table tal:condition="Blaetter | NULL">
    <tr style="background-color:#e3e3e3; font-weight: bold;">
      <td style="width:33%;text-align:left;">
        <a class="btn btn-primary" tal:condition="php:aSession['db_limit']['prev'] >= 0 | NULL" href="${getPath}/${controller}/${methode}/${aSession/db_limit/prev}">${text/system_previous_page | NULL}</a>
        <span tal:condition="php:aSession['db_limit']['prev'] < 0 | NULL">${text/system_previous_page | NULL}</span>
      </td>

      <td style="text-align:center;">
        ${aSession/db_summe} ${text/system_total_records | NULL}
    </td>

      <td style="width:33%;text-align:right;">
        
        <a class="btn btn-primary" tal:condition="php:aSession['db_limit']['next'] < aSession['db_summe'] | NULL" href="${getPath}/${controller}/${methode}/${aSession/db_limit/next}">${text/system_next_page | NULL}</a>
        <span tal:condition="php:aSession['db_limit']['next'] > aSession['db_summe'] | NULL">${text/system_next_page | NULL}</span>
      </td>
    </tr>
  </table>

</tal:block>